package com.jdqzyy.noobnoob.video.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jdqzyy.noobnoob.common.util.PageUtils;
import com.jdqzyy.noobnoob.common.util.Query;

import com.jdqzyy.noobnoob.video.dao.RecoveryGroupDao;
import com.jdqzyy.noobnoob.video.entity.RecoveryGroupEntity;
import com.jdqzyy.noobnoob.video.service.RecoveryGroupService;


@Service("recoveryGroupService")
public class RecoveryGroupServiceImpl extends ServiceImpl<RecoveryGroupDao, RecoveryGroupEntity> implements RecoveryGroupService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<RecoveryGroupEntity> page = this.page(
                new Query<RecoveryGroupEntity>().getPage(params),
                new QueryWrapper<RecoveryGroupEntity>()
        );

        return new PageUtils(page);
    }

}